/*
 * @Copyright: Citylife 2021
 * @Author: shaokui.gu
 * @Date: 2021-02-19 14:48:11
 * @Description: 
 */
import 'package:flutter_scaffold_plugin/pages/main/drawing/drawing_page.dart';
import 'package:flutter_scaffold_plugin/pages/teacher/teacher_explain_page.dart';
import 'package:get/route_manager.dart';
import '../pages/main/main_page.dart';
import '../pages/setting/setting_page.dart';
import '../pages/welcome/welcome.dart';

class MainRoutes {
  static final pages = [
    GetPage(
      name: "/",
      page: () => WelcomePage(),
    ),
    GetPage(
      transition: Transition.fadeIn,
      transitionDuration: Duration(seconds: 1),
      name: "/main",
      page: () => MainPage(),
    ),
    GetPage(
      transition: Transition.fadeIn,
      transitionDuration: Duration(milliseconds: 300),
      name: "/expain",
      page: () => TeacherExpainPage(),
    ),
    GetPage(
      transition: Transition.fadeIn,
      transitionDuration: Duration(milliseconds: 300),
      name: "/paint",
      page: () => DrawingPage(),
    ),
    GetPage(
      name: "/setting",
      page: () => SettingPage(),
    ),
  ];
}
